package cn.botter.subject.infra.basic.service;

import cn.botter.subject.common.entity.PageResult;
import cn.botter.subject.infra.basic.entity.SubjectInfoES;

public interface SubjectESService {
    /**
     * 这是一个es的插入操作
     * @param subjectInfoES
     * @return
     */
    boolean insert(SubjectInfoES subjectInfoES);

    PageResult<SubjectInfoES> querySubjectList(SubjectInfoES subjectInfoES);
}
